
def test(start):
    state=start
    def nested(lable):
        nonlocal state
        print(state,lable)
        state+=1
    return nested
